@import '../../../../style/color.scss';
@import '../../../../style/font.scss';

:root .ant-select-arrow {
  font-size: 24px !important;
}

.map-container-project{
  width:100%;
  padding:10px 30px;

  .main-map{
    border: 1px solid $page-border-color;
    background: #FFF;
    border-radius: 25px;
    padding-bottom: 20px;

    .map  {
      background: #FFF;
      height:430px;
      width:100%;
      padding: 15px 20px 0;

      #mapContent{
        position: absolute;
        width: 1060px;
        height: 415px;
        z-index: 0;
        border:solid 1px #CCCCCC;

        .tdt-infowindow-close-button {
          display: block;
        }
        .tdt-infowindow-content {
          margin: 0;
        }

        .tdt-infowindow-content-wrapper, .tdt-infowindow-tip {
          background-color: #fff;
          box-shadow:none;
          font-family: $DFYuanW7-GBK;
          font-size: 18px;
          color: $map-infowindow-title-color;
          letter-spacing: 1px;
          padding:7px 17px;
        }

        .tdt-infowindow-tip-container {
          height: 0;
        }
        .search{
          position:absolute;
          z-index:600;
          top:20px;
          left:20px;

          >div {
            display: inline-block;
          }

          .left-wrap {

            .point {
              display: inline-block;
              width: 7px;
              height: 7px;
              border-radius: 50%;
            }

            .green {
              background-color: $map-search-green-color;
            }

            .ant-input-affix-wrapper {

              .ant-input-prefix {
                left: 14px;
              }

              .ant-input:not(:first-child) {
                padding-left: 30px;
              }

              .ant-input {
                border-radius: 0;
                border-bottom: none;
                height: 40px;
                border-color: #CCCCCC;
                font-family: $DFYuanW7-GBK;
                font-size: 18px;
                color: $search-addr-color;
                letter-spacing: 0;
                line-height: 40px;

                &:hover {
                  border-color: #CCCCCC;
                }

                &::placeholder {
                  color: $search-addr-color;
                }
              }
            }

            .end-wrap {
              position: relative;

              .dot {
                position: absolute;
                background-color: $map-search-red-color;
                left: 14px;
                top: 17px;
              }

              .ant-select-selection {
                border-radius: 0;
                border-color: #CCCCCC;
                height: 40px;
                line-height: 40px;

                .ant-select-selection__rendered {
                  margin-left: 30px;
                  line-height: 40px;
                  font-family: $DFYuanW7-GBK;
                  font-size: 18px;
                  color: #292929;
                  letter-spacing: 0;

                  .ant-select-arrow {
                    top: 35%;
                  }
                }
              }
            }
          }

          .search-btn {
            width: 80px;
            height: 80px;
            background-color: $map-search-green-color;
            text-align: center;
            line-height: 80px;
            font-family: $DFYuanW7-GBK;
            font-size: 20px;
            color: #FFFFFF;
            letter-spacing: 0;
            vertical-align: top;
          }

        }

      }
    }
  }

  .pp-row {
    width: 100%;

    .info-window-pp {
      display: inline-block;
      width: 15%;
      text-align: center;


      .pp-image {
        width: 95%;
        height: 93px;
      }

      .pp-name {
      }
    }
  }

  .info-pp {
    font-size: 16px;
  }

  .ant-select-arrow {
    top: 35%;
  }
}


.v-map-container-project {
  width:100%;
  padding: 25px 15px 0;

  .main-map {
    border: 1px solid $page-border-color;
    background: #FFF;
    border-radius: 25px;

    .map-header {
      margin-bottom: 15px;

      .map-title {
        font-family: $DFYuanW7-GBK;
        font-size: $h3-font-size;
        color: $form-font-color;
        padding: 30px 0 30px 30px;
      }
    }
    .map {
      background: #FFF;
      position: relative;
      height: 1250px;
      padding: 0 20px 20px;
      border-bottom-right-radius: 25px;
      border-bottom-left-radius: 25px;

      #mapContent {
        position: absolute;
        left: 20px;
        right: 20px;
        height: 1230px;
        z-index: 0;

        .tdt-infowindow-close-button {
          display: block;
        }

        .tdt-infowindow-content {
          margin: 0;
        }

        .tdt-infowindow-content-wrapper, .tdt-infowindow-tip {
          background-color: #fff;
          box-shadow: none;
          font-family: $DFYuanW7-GBK;
          font-size: 20px;
          color: $map-infowindow-title-color;
          letter-spacing: 1px;
          padding: 10px 15px;
        }

        .tdt-infowindow-tip-container {
          height: 0;
        }
        .search {
          position: absolute;
          z-index: 600;
          width: 309px;
          height: 81px;
          top: 20px;
          left: 20px;

          > div {
            float: left;

            &:nth-child(2) {
              width: 80px;
              height: 81px;
              background: $map-search-green-color;
              font-family: $DFYuanW7-GBK;
              font-size: 20px;
              color: #FFFFFF;
              line-height: 81px;
              text-align: center;
            }
            .point {
              width: 7px;
              height: 7px;
              border-radius: 50%;
            }
            .green {
              background: $map-search-green-color;
            }
          }
          &:after {

            display: block;
            content: '';
            clear: both;
            visibility: hidden;
            height: 0;
          }
          .ant-input-affix-wrapper .ant-input-prefix {
            left: 20px;
          }
          .ant-input-affix-wrapper .ant-input:not(:first-child) {
            padding-left: 40px;
          }

          .begin .ant-input-affix-wrapper .ant-input {

            &::placeholder {
              color: #3085FF;
            }
          }
          .begin .ant-input {
            border-bottom: none;
            color: #3085FF;
          }
          .end .ant-input {
            color: $font-b-black;
          }
          .ant-input {
            border-radius: 0;
            height: 40px;
            width: 229px;
            font-family: $DFYuanW7-GBK;
            font-size: 18px;
            letter-spacing: 0;
            &:hover, &:focus, &:active {
              border-color: $btn-border-color;
              box-shadow: none;
            }
          }
        }
        .search-result {
          position: absolute;
          z-index: 600;
          width: 229px;
          top: 125px;
          left: 20px;
          background: #fff;
          li {
            font-family: $DFYuanW7-GBK;
            font-size: $btn-font-size;
            padding: 10px 0 10px 40px;
          }
        }
      }
    }
  }

  .end {
    position: relative;
  }
  .dot {
    position: absolute;
    display: inline-block;
    width: 7px;
    height: 7px;
    top: 18px;
    left: 20px;
    border-radius: 50%;
    background-color: $map-search-red-color;
  }

  // 下拉框
  .ant-select-selection--single {
    height: 41px;
  }
  .ant-select-selection__rendered {
    line-height: 41px;
  }

  .ant-select-selection-selected-value {
    padding-left: 35px;
    font-size: 18px;
  }

  .ant-select-selection {
    border-radius: 0;
  }

  .ant-select-arrow {
    top: 35%;
  }

  .pp-row {
    width: 100%;

    .info-window-pp {
      display: inline-block;
      width: 15%;
      text-align: center;


      .pp-image {
        width: 90%;
        height: 93px;
      }

      .pp-name {
      }
    }
  }

  .info-pp {
    font-size: 16px;

    li {
      &:not(:first-child) {
        padding-top: 5px;
      }
    }
  }
}

.h-modal {

  .row {
    font-size: 16px;
    padding-bottom: 5px;
  }


  .pp-row {
    width: 100%;

    .info-window-pp {
      display: inline-block;
      width: 16%;
      text-align: center;


      .pp-image {
        width: 95%;
        height: 93px;
      }

      .pp-name {
      }
    }
  }

  .info-pp {
    font-size: 16px;
  }

}


